/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;
import java.util.Calendar;
import java.util.Date;
/**
 * <p>Project: jse2204 - D1
 * <p>Powered by webrx On 2022-08-30 17:11:24
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class D1 {
    public static void main(String[] args) {
        //使用类方法一
        System.out.println(Math.random());

        String str = "ok";

        //使用类方法二 Date
        //实例化
        Date d = new Date();
        System.out.println(d.getTime());
        System.out.println(System.currentTimeMillis());

        //实例化
        Calendar c = Calendar.getInstance();

    }
}
